def yield_string(start):
    index = start
    new = ""
    while index < len(s):
        new += s[index]
        index += 2
    return new

if __name__=="__main__":
    s=input().strip()
    print(yield_string(1)+yield_string(0))
